package com.solution.common.exception;
/**
 * web异常
 * @author llp
 * @date 2017/4/19 10:59
 */
public class WebException extends RuntimeException {
	private static final long serialVersionUID = 6331968403124089378L;
	private String errorCode;
	
	public WebException(String message, Throwable cause,
            boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

    public WebException(String message, Throwable cause) {
        super(message, cause);
    }

    public WebException(String message) {
        super(message);
    }

    public WebException(Throwable cause) {
        super(cause);
    }

	public String getErrorCode() {
		return errorCode;
	}
	
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

}